//
//  Connector.h
//  Exchange
//
//  Created by Александр Лазарекно on 08.12.12.
//  Copyright (c) 2012 Бонч. All rights reserved.
//

#import <Foundation/Foundation.h>
@protocol ConnectionDelegate <NSObject>
-(void) didFinishLoadingData:(NSMutableData*) data; 
@end
@interface Connector : NSObject
{
    NSMutableData * dataFromServer;
}
@property (nonatomic,retain) NSMutableData* dataFromServer;
@property (nonatomic,assign) id <ConnectionDelegate> delegate;
- (id) initWithDelegate:(id<ConnectionDelegate>)delegate;
- (void) sendRequestToServerWithBody:(NSData*) soapBody;
@end
